<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 第二个实验 -->
    <script>//229971345周名霞
        var arr1 = [];
        console.log(arr1,arr1.length);
        var arr2 = [1,2,3];
        console.log(arr2[0],arr2.length);
        var arr3 = new Array();
        console.log(arr3[1],arr3.length);
        arr2.shift();  // 去掉 arr2 的第一个元素
		console.log(arr2, arr2.length); // 输出 [2, 3] 和 2 
		var arr3 = new Array();  
		console.log(arr3[1], arr3.length); 
    </script>
</body>
</html>